package mx.com.theboard.client.notas;

import com.google.gwt.event.dom.client.ClickEvent;

import mx.com.theboard.client.menu.BotonMenu;



public class BotonBasuraNota extends BotonMenu {
	private TBNota nota;
	public BotonBasuraNota(TBNota nota) {
		super("recycle.png", "tbbotonnota");
		super.setSize("30px", "30px");
		
		this.nota = nota;
	}
	
	@Override
	public void onClick(ClickEvent event) {
		this.nota.getNotacontroller().borrar();
	}

}
